package com.bci.pwtz.mysql.model;

import java.util.List;

public class AdminMenu {
    private Long adminMenuId;

    private String menuText;

    private String menuUrl;

    private Long pid;

    private String actionCode;

    private Integer rank;

    private List<AdminMenu> adminMenus;
    
    public Long getAdminMenuId() {
        return adminMenuId;
    }

    public void setAdminMenuId(Long adminMenuId) {
        this.adminMenuId = adminMenuId;
    }

    public String getMenuText() {
        return menuText;
    }

    public void setMenuText(String menuText) {
        this.menuText = menuText == null ? null : menuText.trim();
    }

    public String getMenuUrl() {
        return menuUrl;
    }

    public void setMenuUrl(String menuUrl) {
        this.menuUrl = menuUrl == null ? null : menuUrl.trim();
    }

    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }

    public String getActionCode() {
        return actionCode;
    }

    public void setActionCode(String actionCode) {
        this.actionCode = actionCode == null ? null : actionCode.trim();
    }

    public Integer getRank() {
        return rank;
    }

    public void setRank(Integer rank) {
        this.rank = rank;
    }

    /**
     * @return the adminMenus
     */
    public List<AdminMenu> getAdminMenus()
    {
        return adminMenus;
    }

    /**
     * @param adminMenus the adminMenus to set
     */
    public void setAdminMenus(List<AdminMenu> adminMenus)
    {
        this.adminMenus = adminMenus;
    }
    
}